-- GENERATED SPELL FOR [Murkblood Brute] --


function spell0_18211(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(32104,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18211', 3336, 1)
end

function spell1_18211(pUnit, Event) --@Kick,n/a--
pUnit:FullCastSpellOnTarget(32105,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18211', 3310, 1)
end

function Sorts_18211(pUnit, Event)
local choix_sorts_18211 = math.random(0, 1)
if choix_sorts_18211 == 0 then
pUnit:RegisterEvent('spell0_18211', 1, 1)
end
if choix_sorts_18211 == 1 then
pUnit:RegisterEvent('spell1_18211', 1, 1)
end
end

function mob18211_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18211', math.random(1500, 3000), 1)
end

function mob18211_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18211_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18211_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18211, 1, 'mob18211_Action')
RegisterUnitEvent(18211, 2, 'mob18211_Leave')
RegisterUnitEvent(18211, 3, 'mob18211_Kill')
RegisterUnitEvent(18211, 4, 'mob18211_Die')
